﻿using DearlerPlatform.Common;
using DearlerPlatform.Core.DataBaseCommon;
using DearlerPlatform.Core.Repository;
using DearlerPlatform.Domain.Entity;
using DearlerPlatform.Service.ProductApp.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DearlerPlatform.Service.ProductApp
{
    public interface IProduceService
    {
        /// <summary>
        /// 异步获取商品分页数据
        /// </summary>
        /// <param name="query">分页参数</param>
        /// <returns>数据集合</returns>
        Task<PageViewBase<List<ProductsVM>>> GetPageListAsync(QueryParameterBase query);
    }
}
